package com.norma.spring.pojo;

import java.io.Serializable;

/**
 * @author zhangchaofeng
 * @date 2020/11/6
 * @description
 */
public class User implements Serializable {

    private static final long serialVersionUID = -432390440842740406L;

    private String id;

    private String name;

    public User() {
    }

    public User(String id, String name) {
        this.id = id;
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
